package com.ibeeking.found.upms.service.common.param;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * @project: ConfigPermissionParam
 * @description: 租户菜单Param
 * @Author ibeeking
 * @create: 2020-12-05 13:35:47
 **/
@Data
public class ConfigPermissionParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotBlank(message = "模块不能为空")
    private String module;

    @NotEmpty(message = "不能为空")
    private List<ConfigPermissionListParam> params;
}
